package com.itheima.tlias.model.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author byzhao
 * @created 2024-04-08 18:01:44
 * @describtion
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Emp implements Serializable {
    @Serial
    private static final long serialVersionUID = -2533722487668633236L;
    /**
     *  员工id
     */
    private Integer id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String name;
    /**
     * /性别, 1:男, 2:女
     */
    private Integer gender;
    /**
     *  手机号
     */
    private String phone;
    /**
     * 职位, 1:班主任,2:讲师,3:学工主管,4:教研主管,5:咨询师
     */
    private Integer job;
    /**
     * 工资
     */
    private Integer salary;
    /**
     * 头像
     */
    private String image;
    /**
     * 入职时间
     */
    private LocalDate entryDate;
    /**
     * 关联的部门ID
     */
    private Integer deptId;
    /**
     * 创建时间
     */

    private LocalDateTime createTime;
    /**
     * 更新时间
     */

    private LocalDateTime updateTime;
}



